<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class UserInfo extends Model
{
    //
    protected $table = 'userinfo';
    public $timestamps = false;
    protected $guarded = [
    ];
    protected $hidden = [
        'password'
    ];
    public function getRegdateAttribute($value)
    {
        return date('Y-m-d',$value);
    }


}
